//
//  SortdeList.m
//  IT爱好者
//
//  Created by dllo on 15/10/8.
//  Copyright © 2015年 Fan. All rights reserved.
//

#import "SortdeList.h"
#import "Header.h"
@implementation SortdeList

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatViews];
    }
    return self;
}

-(void)creatViews
{
    _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth / 2, 40 * FitHeight)];
    
    _titleLabel.font = [UIFont systemFontOfSize:18];
    _titleLabel.textAlignment = 1;
    [self.contentView addSubview:_titleLabel];

    
    _rightImageView = [[UIImageView alloc]initWithFrame:CGRectMake(self.contentView.frame.size.width - 30 * FitWidth, 10 * FitHeight, 20 * FitWidth, 20 * FitHeight)];
    //_rightImageView.backgroundColor = [UIColor grayColor];
    [self.contentView addSubview:_rightImageView];
    
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    _titleLabel.textColor = contenttextColor;
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
